/* 基础样式 */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

main {
    padding: 20px;
}

.box {
    max-width: 1200px;
    margin: 0 auto;
}

/* 轮播图样式 */
.container-carousel {
    margin-bottom: 40px;
}

.card-body-carousel {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card-body-carousel img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #ddd;
}

/* 热门功能部分 */
.new-div {
    margin-bottom: 40px;
}

.hot {
    padding: 20px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hot .title, .hot .new-title {
    font-size: 24px;
    font-weight: bold;
    margin-right: 10px;
}

.hot .logo, .hot .new-logo {
    background: #fff;
    color: #2575fc;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 14px;
    margin-right: 15px;
    font-weight: bold;
}

.hot .text {
    margin-top: 10px;
    font-size: 16px;
}

.hot .text span {
    margin-right: 20px;
}

/* 功能卡片部分 */
.container-assessment {
    margin-top: 40px;
}

.card-body-assessment {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.assessment-card {
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.assessment-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #2575fc;
}

.assessment-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.assessment-card button {
    background: #2575fc;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.assessment-card button:hover {
    background: #1e63c3;
}

.assessment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.left-shift {
    margin-left: 30px;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .layui-row {
        display: flex;
        flex-wrap: wrap;
    }

    .layui-col-md3 {
        flex: 1 1 100%;
        margin-bottom: 20px;
    }

    .left-shift {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .hot .title, .hot .new-title {
        font-size: 18px;
    }

    .hot .text {
        font-size: 14px;
    }

    .assessment-card button {
        font-size: 12px;
    }
}
